package com.punai.datapush.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;

/**
 * 案例发布对象 data_release_case
 *
 * @author zxw_
 * @date 2023-04-27
 */
public class DataReleaseCase extends BaseEntity
{

    /** $column.columnComment */
    private String id;
    /** 版本id */
    @Excel(name = "版本id")
    private String verId;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String releaseName;
    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseDate;
    /** 发布者 */
    @Excel(name = "发布者")
    private String releaseUser;
    /** 发布状态 y/n */
    @Excel(name = "发布状态 y/n")
    private String releaseState;
    /** 项目id关联 */
    @Excel(name = "项目id关联")
    private String linkIds;
    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setVerId(String verId)
    {
        this.verId = verId;
    }

    public String getVerId()
    {
        return verId;
    }
    public void setReleaseName(String releaseName)
    {
        this.releaseName = releaseName;
    }

    public String getReleaseName()
    {
        return releaseName;
    }
    public void setReleaseDate(Date releaseDate)
    {
        this.releaseDate = releaseDate;
    }

    public Date getReleaseDate()
    {
        return releaseDate;
    }
    public void setReleaseUser(String releaseUser)
    {
        this.releaseUser = releaseUser;
    }

    public String getReleaseUser()
    {
        return releaseUser;
    }
    public void setReleaseState(String releaseState)
    {
        this.releaseState = releaseState;
    }

    public String getReleaseState()
    {
        return releaseState;
    }
    public void setLinkIds(String linkIds)
    {
        this.linkIds = linkIds;
    }

    public String getLinkIds()
    {
        return linkIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("verId", getVerId())
            .append("releaseName", getReleaseName())
            .append("releaseDate", getReleaseDate())
            .append("releaseUser", getReleaseUser())
            .append("releaseState", getReleaseState())
            .append("linkIds", getLinkIds())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
        .toString();
    }
}
